package object;

public class Student extends Person {
    private Course course;

    public Student(int id, String name, String gender) {
        super(id, name, gender);
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public Course getCourse() {
        return course;
    }
}